Skip to content

Fix invalid XML comment breaking Android build - #232

Merged
winnerspiros merged 1 commit into
masterfrom
copilot/fix-last-build-failure-yet-again
Apr 22, 2026
Merged

Fix invalid XML comment breaking Android build#232
winnerspiros merged 1 commit into
masterfrom
copilot/fix-last-build-failure-yet-again

Conversation

Copilot AI commented Apr 22, 2026

Copy link
Copy Markdown

The Android build (run 24766285686) failed to load osu.Android.csproj:

error MSB4025: The project file could not be loaded.
An XML comment cannot contain '--', and '-' cannot be the last character.
Line 24, position 8.

The comment introduced for the mono.env AndroidEnvironment item referenced Mono's --jitmap flag literally, but XML 1.0 disallows -- inside comments.

Change

  • osu.Android/osu.Android.csproj: drop the leading -- from the comment text (now reads "Enables Mono's jitmap output…"). Behavior is unchanged; only the prose in the comment is adjusted to be XML-legal.

@winnerspiros
winnerspiros marked this pull request as ready for review April 22, 2026 07:42
Copilot AI review requested due to automatic review settings April 22, 2026 07:42
@winnerspiros
winnerspiros merged commit d2c4986 into master Apr 22, 2026
4 of 18 checks passed
@gitar-bot

gitar-bot Bot commented Apr 22, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an Android build break caused by an XML-invalid sequence (--) inside an XML comment in osu.Android.csproj, restoring the ability for MSBuild to load the project file.

Changes:

  • Updates the mono.env/AndroidEnvironment explanatory XML comment to remove the literal --jitmap text (XML 1.0 disallows -- inside comments).
  • Leaves build behavior unchanged; only comment prose is adjusted to be XML-legal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants